package com.ctshk.rpc.order.air.req.app;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AppUrgentContactReq implements Serializable {

    @NotNull(message = "紧急联系人姓氏可以为空")
    @ApiModelProperty(value = "紧急联系人姓")
    private String surname;


    @NotNull(message = "紧急联系人名可以为空")
    @ApiModelProperty(value = "紧急联系人名")
    private String name;

    @NotNull(message = "紧急联系人手机可以为空")
    @ApiModelProperty(value = "紧急联系人手机")
    private String contactMobile;

    @NotNull(message = "紧急联系人手机区号id可以为空")
    @ApiModelProperty(value = "紧急联系人手机区号id")
    private Long contactMobileAreaCodeId;

    @NotNull(message = "紧急联系人手机区号可以为空")
    @ApiModelProperty(value = "紧急联系人手机区号")
    private String contactMobileAreaCode;

    @NotNull(message = "紧急联系人邮箱可以为空")
    @ApiModelProperty(value = "紧急联系人邮箱")
    private String contactEmail;

    @NotNull(message = "紧急联系人称谓可以为空")
    @ApiModelProperty(value = "称谓(1:先生;2:女士;3:小姐;4:男童;5:女童)")
    private Integer appellation;
}
